package com.zzl.bonds.ticket.dto.credit;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import com.zzl.general.common.utils.DoubleSerialize;
import lombok.Data;

/**
 * 金融机构给 集团的授信额度
 *
 * @author : spp
 * @date : 2021/12/7 13:15
 */
@Data
@ApidocModel
public class BankCreditDto {

    @ApidocModelProperty(description = "授信类型")
    private Integer creditType;

    @ApidocModelProperty(description = "授信类型")
    private String creditTypeStr;

    @ApidocModelProperty(description = "金融机构主键")
    private Integer financeInstitutyid;

    @ApidocModelProperty(description = "集团授信id")
    private Integer institutyCreditId;


    @ApidocModelProperty(description = "机构名称")
    private String instinctyName;

    @JsonSerialize(using = DoubleSerialize.class)
    @ApidocModelProperty(description = "可用授信金额")
    private Double creditSurplusAmount;


}
